-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix symbol rendering for multipoints #3763
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rely on feature.type
for discerning between points and polygons?
ecb4af5
to
8812ad4
Compare
Updated with new tests & use of the vector tile |
It's unfortunate that we place circles & symbols differently for lines, polygons, and multi-things. If pole-of-inaccessability symbol placement were a |
PR for new tests @ mapbox/mapbox-gl-test-suite#192 |
Via a support request, @mapsam and I discovered that we do not render any symbols for multipoint geometries. This is inconsistent with our behaviour for circles in which we do render a circle at each point in the multipoint geometry (see #2027).
This PR tries to differentiate multipoint geometries from polygons and perform the correct label placement in each case.
cc @mourner @flippmoke @mapsam @jfirebaugh @colleenmcginnis
Open Questions
symbol-placement
modes forpoint
,line
, andpolygon
/centroid
?Launch Checklist